import base64
# imageUrl = "D:\软件工程\柯南GIS\三维遥感可视化\less_python_project\data\lessProject\project010\Results\spectral_VZ=0_VA=180.png"
imageUrl = "./data/lessProject/project010/Results/spectral_VZ=0_VA=180.png"
img_stream = ''
with open(imageUrl, 'rb') as img_f:
    img_stream = img_f.read()
    img_stream = base64.b64decode(img_stream)
    print(img_stream)